import { defaultApi } from '../http/apiFactory'

// store_operation_controller
export default class StoreOperationApi {

  // Create Store Operation
  static create(data = {}) {
    return defaultApi.post('/chat-api/v1/mct/store-operation/create', data)
  }

  // Delete Store Operation
  static remove(data = {}) {
    return defaultApi.post('/chat-api/v1/mct/store-operation/remove', data)
  }

  // Delete Many Store Operation
  static removeMany(data = {}) {
    return defaultApi.post('/chat-api/v1/mct/store-operation/remove-many', data)
  }

  // Update Store Operation
  static update(data = {}) {
    return defaultApi.post('/chat-api/v1/mct/store-operation/update', data)
  }

  // Get Store Operation List
  static list(data = {}) {
    return defaultApi.post('/chat-api/v1/mct/store-operation/list', data)
  }

  // Get Paged Store Operation List
  static listPage(data = {}) {
    return defaultApi.post('/chat-api/v1/mct/store-operation/list-page', data)
  }

  // Get Store Operation By Id
  static detail(data = {}) {
    return defaultApi.get('/chat-api/v1/mct/store-operation/detail', data)
  }

  // Export Store Operation List
  static export(data = {}) {
    return defaultApi.post('/chat-api/v1/mct/store-operation/export', data)
  }

  // Store Operation Report
  static storeOperationReport(data = {}) {
    return defaultApi.post('/chat-api/v1/mct/store-operation/store_operation_report', data)
  }
}
